package mt.comm.implement;

import java.io.Serializable;

import mt.Order;


public class ClientSideMessageImp implements ClientSideMessage,Serializable {

	
	private static final long serialVersionUID = 1L;
	private Type type;
	private Order order;
	private String error;
	
	public ClientSideMessageImp(Type type, Order order, String error) {
		this.type = type;
		this.order = order;
		this.error = error;
	}
	
	@Override
	public Type getType() {
		return type;
	}

	@Override
	public Order getOrder() {
		// TODO Auto-generated method stub
		return order;
	}

	@Override
	public String getError() {
		// TODO Auto-generated method stub
		return error;
	}
	

	
}
